package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.dto.ExamScoreStatsDTO;
import com.scuec.groupfive.mapper.ExamScoreStatsMapper;
import com.scuec.groupfive.service.ExamScoreStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamScoreStatsServiceImpl implements ExamScoreStatsService {
    @Autowired
    private ExamScoreStatsMapper examScoreStatsMapper;

    @Override
    public List<ExamScoreStatsDTO> getScoreDistributionByExamType(String examType) {
        return examScoreStatsMapper.getScoreDistributionByExamType(examType);
    }
}